<template>
  <div class="notfound">
    <span class="txt">
      你在找什么鸭?...
    </span>
    <router-link class="home" :to="{ path: '/d' }">🦄从头再来</router-link>
  </div>
</template>

<script>
  export default {};
</script>

<style lang="less" scoped>
  .notfound {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .txt {
    animation: font 8s infinite linear;
  }

  .home {
    font-size: 14px;
    position: absolute;
    left: 10px;
    top: 20px;
  }

  @keyframes font {
    0% {
      transform: scale(1);
      color: white;
    }

    25% {
      transform: scale(2);
    }

    50% {
      transform: scale(1);
    }

    75% {
      transform: scale(2) rotateZ(-360deg);
    }

    100% {
      transform: scale(1) rotateZ(0deg);
      color: black;
    }
  }
</style>
